package com.example.springboot.pojo;

public class Repair {

    private Integer id;
    private String roomNumber;
    private String detail;
    private Integer status;
    private String workerId;
    private String photo;
    private String time;


    public Repair() {
    }

    public Repair(Integer id, String roomNumber, String detail, Integer status, String workerId, String photo, String time) {
        this.id = id;
        this.roomNumber = roomNumber;
        this.detail = detail;
        this.status = status;
        this.workerId = workerId;
        this.photo = photo;
        this.time = time;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return roomNumber
     */
    public String getRoomNumber() {
        return roomNumber;
    }

    /**
     * 设置
     * @param roomNumber
     */
    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    /**
     * 获取
     * @return detail
     */
    public String getDetail() {
        return detail;
    }

    /**
     * 设置
     * @param detail
     */
    public void setDetail(String detail) {
        this.detail = detail;
    }

    /**
     * 获取
     * @return status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取
     * @return workerId
     */
    public String getWorkerId() {
        return workerId;
    }

    /**
     * 设置
     * @param workerId
     */
    public void setWorkerId(String workerId) {
        this.workerId = workerId;
    }

    /**
     * 获取
     * @return photo
     */
    public String getPhoto() {
        return photo;
    }

    /**
     * 设置
     * @param photo
     */
    public void setPhoto(String photo) {
        this.photo = photo;
    }

    /**
     * 获取
     * @return time
     */
    public String getTime() {
        return time;
    }

    /**
     * 设置
     * @param time
     */
    public void setTime(String time) {
        this.time = time;
    }

    public String toString() {
        return "Repair{id = " + id + ", roomNumber = " + roomNumber + ", detail = " + detail + ", status = " + status + ", workerId = " + workerId + ", photo = " + photo + ", time = " + time + "}";
    }
}
